/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86187
 * Date: 2022-09-26
 * Time: 13:17
 */
public class Test {
    public static void main(String[] args) {
        SingleLinkedList linkedList = new SingleLinkedList();

        linkedList.addFirst(3);
        linkedList.addFirst(3);
        linkedList.addFirst(3);
        linkedList.addFirst(3);
        linkedList.addFirst(7);
        linkedList.addFirst(3);
        linkedList.addFirst(3);

        linkedList.display();
        linkedList.removeAllKey(3);
        linkedList.display();
    }
}
